package com.tonels.util;

import org.apache.commons.io.FileUtils;
import org.junit.Test;

import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;

public class FileUtiltest {

    @Test
    public void t1() throws IOException {
        String s = "\\\\192.168.1.74\\public\\testts\\all-0707\\data6\\uiui";

        File file = FileUtils.getFile(s);
        if (Files.notExists(Paths.get(s))) {
            Files.createDirectories(Paths.get(s));
        }




    }
}
